package net.message {

	import flash.utils.IDataInput;
	import net.MessageType;
	import net.handler.GC_Hero_ChangeNameHandler;
	import util.Long;
	
	/**
	 * 文件名：GC_Hero_ChangeNameMessage.as
	 * <p>
	 * 功能：武将改名
	 * <p>
	 * 版本：1.0.0
	 * <p>
	 * 作者：Builderd by AppTools
	 * <p>
	 */
	public class GC_Hero_ChangeNameMessage extends BaseMessage {
	
	//写入操作结果反馈：1：成功，0：无此英雄或受限，-1：钱不够
		public var feedback:int;


		public function GC_Hero_ChangeNameMessage() {
			super();
			type = MessageType.GC_Hero_ChangeName;
			handler = new GC_Hero_ChangeNameHandler();
		}
	
		override public function readMessage(data:IDataInput):void {
			//写入操作结果反馈：1：成功，0：无此英雄或受限，-1：钱不够
			feedback = data.readInt();
		}
	}
}
